﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using HCM_maps_website.Models;
using HCM_maps_website.Process.DAL;

namespace HCM_maps_website.Process.BLL
{
    public class DiaChiBLL
    {
        DiaChiDAO DC = new DiaChiDAO();
        public DiaChi GetDiaChiByString(string number, string street)
        {
            return DC.GetDiaChiByString(number, street);
        }
        public DiaChi GetDiaChiNearByString(string number, string street)
        {
            return DC.GetDiaChiNearByString(number, street);
        }
        public Duong FindStreet(string street)
        {
            return DC.FindStreet(street);
        }
        public DiaChi FindArea(string area)
        {
            return DC.FindArea(area);
        }
        public IList<DiaChi> FindNotExact(string number, string street)
        {
            return DC.FindNotExact(number, street);
        }
    }
}